package digital_cash_system;

import javax.swing.JFrame;
import javax.swing.JScrollBar;
import javax.swing.JTextArea;

public class XJFrame extends JFrame
{
	private static final long serialVersionUID = 1L;

	protected final static int ButtonsPadding = 60;
	protected final static int ButtonsMenuXPosition = 10;
	protected final static int ButtonsMenuYPosition = 300;

	protected JTextArea loggerView;
	protected JScrollBar scrollBarVertical;

	public XJFrame(String title)
	{
		super(title);
		// --- initialize Logger
		loggerView = new JTextArea();
		loggerView.setLineWrap(true);
		
		Logger.getInstance().initialize(loggerView);
		// ---
	}
}
